package com.explorex.infra.puma.gateway.netty.ws.enums;

public enum RegisterEventStatusEnum {

    SUCCESS(0,"success"),
    SYSTEM_ERROR(-1,"system handler fail,please retry"),
    PARAM_ERROR(2,"param is error");


    private int code;
    private String msg;

    RegisterEventStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
